package com.inno.subject.domain.service;

import com.inno.subject.common.entity.PageResult;
import com.inno.subject.domain.entity.CategorySubjectCountBO;
import com.inno.subject.domain.entity.SubjectInfoBO;

import java.util.List;

/**
 * @author sean
 */
public interface SubjectInfoDomainService {
    void add(SubjectInfoBO subjectInfoBO);

    PageResult<SubjectInfoBO> queryPage(SubjectInfoBO subjectInfoBO);

    void update(SubjectInfoBO subjectInfoBO);

    SubjectInfoBO queryById(SubjectInfoBO subjectInfoBO);

    void delete(List<Long> ids);

    PageResult<SubjectInfoBO> queryErrorSubject(SubjectInfoBO subjectInfoBO);

    Long queryCount();

    List<CategorySubjectCountBO> categorySubjectCount();

    List<SubjectInfoBO> daily(SubjectInfoBO subjectInfoBO);
}
